﻿

namespace LinqBll
{
    public class DbFactory
    {
        public static ICore<T> Create<T>()
            where T : class,new()
        {
            ICore<T> db = null;
            db = new DataContextBaseCore<T>(new DataClasses1DataContext());
            return db;
        }

    }
}
